#ifndef FILTER_KALMAN
#define FILTER_KALMAN

//typedef struct _GW_Kalman
//{
//    float x_last;
//    float p_last;
//}GW_Kalman;

class GW_Kalman
{
private:
   float ProcessNiose_Q;
   float MeasureNoise_R;
   float x_last;
   float p_last;
public:
   float KalmanFilter(const float ResrcData);
   void setKalmanConfig(float Q, float R);
   GW_Kalman();
};

#endif

